package cn.lsnu.common.interfacetools.interfacedao;

import cn.lsnu.common.interfacetools.interfaceentity.Page;

import java.util.List;

public abstract  class BaseDao<T> implements TopDao<T>  {

    /**
     * @Description 泛型中通用保存方法
     * @param entity:
     * @return void
     * @author  lin
     * @Datetime  2020/4/8 20:34
     */
    @Override
    public void save(T entity) throws Exception {

    }

    @Override
    public void delete(T entity) throws Exception {

    }

    @Override
    public void update(T entity) throws Exception {

    }

    @Override
    public T get(String key) throws Exception {
        return null;
    }

    @Override
    public T getEntity(T entity) throws Exception {
        return null;
    }

    @Override
    public List<T> findList(T entity) throws Exception {
        return null;
    }


}
